<?php


namespace app\api\model;


class Banner extends BaseModel
{
    public function items()
    {
        return $this->hasMany('BannerItem','banner_id','id')->order('order_sort asc');
    }
}